package com.woniu.order.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author yellowDocter
 * @since 2022-08-10
 */
@TableName("t_orderbasicinfo")
@ApiModel(value = "TOrderbasicinfo对象", description = "")
public class TOrderbasicinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("本表id")
    @TableId(value = "basicinfo_id", type = IdType.AUTO)
    private Integer basicinfoId;

    @ApiModelProperty("订单id")
    private Integer orderId;

    @ApiModelProperty("用户订单编号")
    private Integer userOrderId;

    @ApiModelProperty("客户名称")
    private String username;

    @ApiModelProperty("订单来源")
    private String orderfrom;

    @ApiModelProperty("订单类型")
    private String typeName;

    @ApiModelProperty("接单日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date receiveTime;

    @ApiModelProperty("操作人")
    private String admin;

    @ApiModelProperty("回单表id")
    private Integer receiptId;

    @ApiModelProperty("备注")
    private String remarks;

    public Integer getBasicinfoId() {
        return basicinfoId;
    }

    public void setBasicinfoId(Integer basicinfoId) {
        this.basicinfoId = basicinfoId;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public Integer getUserOrderId() {
        return userOrderId;
    }

    public void setUserOrderId(Integer userOrderId) {
        this.userOrderId = userOrderId;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getOrderfrom() {
        return orderfrom;
    }

    public void setOrderfrom(String orderfrom) {
        this.orderfrom = orderfrom;
    }
    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }
    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }
    public Integer getReceiptId() {
        return receiptId;
    }

    public void setReceiptId(Integer receiptId) {
        this.receiptId = receiptId;
    }
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "TOrderbasicinfo{" +
            "basicinfoId=" + basicinfoId +
            ", orderId=" + orderId +
            ", userOrderId=" + userOrderId +
            ", username=" + username +
            ", orderfrom=" + orderfrom +
            ", typeName=" + typeName +
            ", receiveTime=" + receiveTime +
            ", admin=" + admin +
            ", receiptId=" + receiptId +
            ", remarks=" + remarks +
        "}";
    }
}
